package service;

import java.util.List;
import java.util.Map;

import model.data.DataDictionary;
import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import dao.FieldDefinationDao;

@Component
public class FieldDefinationService {
	@Autowired FieldDefinationDao fd;
	public DataDictionary get(String field)
	{
		return fd.get(field);
	}
	public List<Map<String,String>> options(JSONObject obj)
	{
		return fd.options(obj);
	}
}
